package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师信息对象 tutors
 * 
 * @author ruoyi
 * @date 2024-12-03
 */
public class Tutors extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 毕业学校 */
    @Excel(name = "毕业学校")
    private String school;

    /** 学历 */
    @Excel(name = "学历")
    private String grade;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 所在省份 */
    @Excel(name = "所在省份")
    private String province;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String city;

    /** 所在县区 */
    @Excel(name = "所在县区")
    private String district;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String location;

    /** 照片 */
    @Excel(name = "照片")
    private String imageUrl;

    /** 可授年级 */
    @Excel(name = "可授年级")
    private String studentGrade;

    /** 可授科目 */
    @Excel(name = "可授科目")
    private String subjects;

    /** 家教经验 */
    @Excel(name = "家教经验")
    private String experience;

    /** 薪资要求 */
    @Excel(name = "薪资要求")
    private String salaryRequirements;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactInfo;

    /** 自我描述 */
    @Excel(name = "自我描述")
    private String description;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setStudentGrade(String studentGrade) 
    {
        this.studentGrade = studentGrade;
    }

    public String getStudentGrade() 
    {
        return studentGrade;
    }
    public void setSubjects(String subjects) 
    {
        this.subjects = subjects;
    }

    public String getSubjects() 
    {
        return subjects;
    }
    public void setExperience(String experience) 
    {
        this.experience = experience;
    }

    public String getExperience() 
    {
        return experience;
    }
    public void setSalaryRequirements(String salaryRequirements) 
    {
        this.salaryRequirements = salaryRequirements;
    }

    public String getSalaryRequirements() 
    {
        return salaryRequirements;
    }
    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("gender", getGender())
            .append("school", getSchool())
            .append("grade", getGrade())
            .append("major", getMajor())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("location", getLocation())
            .append("imageUrl", getImageUrl())
            .append("studentGrade", getStudentGrade())
            .append("subjects", getSubjects())
            .append("experience", getExperience())
            .append("salaryRequirements", getSalaryRequirements())
            .append("contactInfo", getContactInfo())
            .append("description", getDescription())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
